package com.chat.utils;

import com.chat.view.EmailLoginController;
import com.chat.view.ForgetController;

public class SecurityCode3 extends Thread{
    EmailLoginController emailLoginController;
    public SecurityCode3(EmailLoginController k){
        emailLoginController=k;
    }
    @Override
    public void run() {
        int time=60;
        while(time!=0)
        {
            emailLoginController.test1(time);
            time--;
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
        emailLoginController.test2();
    }
}
